﻿@model Great_Eggspectations.DAL.Product

<div class="form-group">
    @Html.LabelFor(model => model.Name, new { @class = "control-label col-md-2" })
    <div class="col-md-10">
        @Html.EditorFor(model => model.Name)
        @Html.ValidationMessageFor(model => model.Name)
    </div>
</div>

<div class="form-group">
    <label for="UnitPrice" class = "control-label col-md-2">Unit Price</label> @*todo: fix!*@
    <div class="col-md-10">
        $@Html.EditorFor(model => model.UnitPrice)
        @Html.ValidationMessageFor(model => model.UnitPrice)
    </div>
</div>

<div class="form-group">
    @Html.LabelFor(model => model.Details, new { @class = "control-label col-md-2" })
    <div class="col-md-10">
        @Html.TextAreaFor(model => model.Details)
    </div>
</div>

<div class="form-group">
    <label for="CSVTags" class="control-label col-md-2">Tags</label> @*todo: fix!*@
    <div class="col-md-10">
        @Html.EditorFor(model => model.CSVTags)
    </div>
</div>
